---
title: connection.proto
hide_title: true
---

import { ProtoMessage, ProtoServiceMethod, ProtoEnum } from '@theme/ProtoFile';

# `connection.proto`
_**path** mgmt/v1alpha1/connection.proto_

_**package** mgmt.v1alpha1_



---

## Messages


### `AwsS3ConnectionConfig`
<ProtoMessage key={0} message={{"name":"AwsS3ConnectionConfig","longName":"AwsS3ConnectionConfig","fullName":"mgmt.v1alpha1.AwsS3ConnectionConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"path_prefix","description":"The bucket path prefix that will be appended to each file","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_path_prefix","defaultValue":""},{"name":"credentials","description":"The credentials to use for the S3 bucket","label":"optional","type":"AwsS3Credentials","longType":"AwsS3Credentials","fullType":"mgmt.v1alpha1.AwsS3Credentials","ismap":false,"isoneof":true,"oneofdecl":"_credentials","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#awss3credentials"},{"name":"region","description":"The region of the S3 bucket","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_region","defaultValue":""},{"name":"endpoint","description":"The endpoint of the S3 bucket (if using a custom endpoint like region specific endpoints or S3-compatible APIs)","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_endpoint","defaultValue":""},{"name":"bucket","description":"The name of the S3 bucket","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `AwsS3Credentials`
<ProtoMessage key={1} message={{"name":"AwsS3Credentials","longName":"AwsS3Credentials","fullName":"mgmt.v1alpha1.AwsS3Credentials","description":"S3 Credentials that are used by the worker process.\nNote: this may be optionally provided if the worker that is being hosted has environment credentials to the S3 bucket instead.","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"profile","description":"The profile to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_profile","defaultValue":""},{"name":"access_key_id","description":"The access key id to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_access_key_id","defaultValue":""},{"name":"secret_access_key","description":"The secret access key to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_secret_access_key","defaultValue":""},{"name":"session_token","description":"The session token to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_session_token","defaultValue":""},{"name":"from_ec2_role","description":"Whether or not the credentials are from an EC2 role","label":"optional","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":true,"oneofdecl":"_from_ec2_role","defaultValue":""},{"name":"role_arn","description":"The ARN of the role to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_role_arn","defaultValue":""},{"name":"role_external_id","description":"The role's external ID to use for the S3 credentials","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_role_external_id","defaultValue":""}]}} />


### `CheckConnectionConfigByIdRequest`
<ProtoMessage key={2} message={{"name":"CheckConnectionConfigByIdRequest","longName":"CheckConnectionConfigByIdRequest","fullName":"mgmt.v1alpha1.CheckConnectionConfigByIdRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The connection id to validate","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CheckConnectionConfigByIdResponse`
<ProtoMessage key={3} message={{"name":"CheckConnectionConfigByIdResponse","longName":"CheckConnectionConfigByIdResponse","fullName":"mgmt.v1alpha1.CheckConnectionConfigByIdResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"is_connected","description":"Whether or not the API was able to ping the connection","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_error","description":"This is the error that was received if the API was unable to connect","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_connection_error","defaultValue":""},{"name":"privileges","description":"The privileges the role has to the connection","label":"repeated","type":"ConnectionRolePrivilege","longType":"ConnectionRolePrivilege","fullType":"mgmt.v1alpha1.ConnectionRolePrivilege","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionroleprivilege"}]}} />


### `CheckConnectionConfigRequest`
<ProtoMessage key={4} message={{"name":"CheckConnectionConfigRequest","longName":"CheckConnectionConfigRequest","fullName":"mgmt.v1alpha1.CheckConnectionConfigRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_config","description":"The connection configuration to validate","label":"","type":"ConnectionConfig","longType":"ConnectionConfig","fullType":"mgmt.v1alpha1.ConnectionConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionconfig"}]}} />


### `CheckConnectionConfigResponse`
<ProtoMessage key={5} message={{"name":"CheckConnectionConfigResponse","longName":"CheckConnectionConfigResponse","fullName":"mgmt.v1alpha1.CheckConnectionConfigResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"is_connected","description":"Whether or not the API was able to ping the connection","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_error","description":"This is the error that was received if the API was unable to connect","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_connection_error","defaultValue":""},{"name":"privileges","description":"","label":"repeated","type":"ConnectionRolePrivilege","longType":"ConnectionRolePrivilege","fullType":"mgmt.v1alpha1.ConnectionRolePrivilege","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionroleprivilege"}]}} />


### `CheckSSHConnectionByIdRequest`
<ProtoMessage key={6} message={{"name":"CheckSSHConnectionByIdRequest","longName":"CheckSSHConnectionByIdRequest","fullName":"mgmt.v1alpha1.CheckSSHConnectionByIdRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The connection id that the SSH connection will be checked against","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CheckSSHConnectionByIdResponse`
<ProtoMessage key={7} message={{"name":"CheckSSHConnectionByIdResponse","longName":"CheckSSHConnectionByIdResponse","fullName":"mgmt.v1alpha1.CheckSSHConnectionByIdResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"result","description":"The result of the SSH connection check","label":"","type":"CheckSSHConnectionResult","longType":"CheckSSHConnectionResult","fullType":"mgmt.v1alpha1.CheckSSHConnectionResult","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionresult"}]}} />


### `CheckSSHConnectionRequest`
<ProtoMessage key={8} message={{"name":"CheckSSHConnectionRequest","longName":"CheckSSHConnectionRequest","fullName":"mgmt.v1alpha1.CheckSSHConnectionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"tunnel","description":"The SSH tunnel configuration to use for the connection","label":"","type":"SSHTunnel","longType":"SSHTunnel","fullType":"mgmt.v1alpha1.SSHTunnel","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshtunnel"}]}} />


### `CheckSSHConnectionResponse`
<ProtoMessage key={9} message={{"name":"CheckSSHConnectionResponse","longName":"CheckSSHConnectionResponse","fullName":"mgmt.v1alpha1.CheckSSHConnectionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"result","description":"The result of the SSH connection check","label":"","type":"CheckSSHConnectionResult","longType":"CheckSSHConnectionResult","fullType":"mgmt.v1alpha1.CheckSSHConnectionResult","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionresult"}]}} />


### `CheckSSHConnectionResult`
<ProtoMessage key={10} message={{"name":"CheckSSHConnectionResult","longName":"CheckSSHConnectionResult","fullName":"mgmt.v1alpha1.CheckSSHConnectionResult","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"is_successful","description":"Whether or not the SSH connection is successful","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"error_message","description":"The error message returned by the SSH client if the connection is not successful","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_error_message","defaultValue":""}]}} />


### `CheckSqlQueryRequest`
<ProtoMessage key={11} message={{"name":"CheckSqlQueryRequest","longName":"CheckSqlQueryRequest","fullName":"mgmt.v1alpha1.CheckSqlQueryRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The connection id that the query will be checked against","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"query","description":"The full query that will be run through a PREPARE statement","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CheckSqlQueryResponse`
<ProtoMessage key={12} message={{"name":"CheckSqlQueryResponse","longName":"CheckSqlQueryResponse","fullName":"mgmt.v1alpha1.CheckSqlQueryResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"is_valid","description":"The query is run through PREPARE. Returns valid if it correctly compiled","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"erorr_message","description":"The error message returned by the sql client if the prepare did not return successfully","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_erorr_message","defaultValue":""}]}} />


### `ClientTlsConfig`
<ProtoMessage key={13} message={{"name":"ClientTlsConfig","longName":"ClientTlsConfig","fullName":"mgmt.v1alpha1.ClientTlsConfig","description":"Config for providing client-side TLS certificates","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"root_cert","description":"Root Certificate in PEM Format","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_root_cert","defaultValue":""},{"name":"client_cert","description":"Client Certificate in PEM format. Must also provide key.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_client_cert","defaultValue":""},{"name":"client_key","description":"Client Key in PEM format. Must also provide cert.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_client_key","defaultValue":""},{"name":"server_name","description":"Provide the expected server name. Depending on the driver or encryption mode, this may be required\nIn order to fully validate the server certificate.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_server_name","defaultValue":""}]}} />


### `Connection`
<ProtoMessage key={14} message={{"name":"Connection","longName":"Connection","fullName":"mgmt.v1alpha1.Connection","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The unique, friendly name of the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_config","description":"Contains the connection configuration and connection type","label":"","type":"ConnectionConfig","longType":"ConnectionConfig","fullType":"mgmt.v1alpha1.ConnectionConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionconfig"},{"name":"created_by_user_id","description":"The user id of the user that created the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"created_at","description":"When the connection was created","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"updated_by_user_id","description":"Who last updated the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"updated_at","description":"When the connection was last updated","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"account_id","description":"The unique account that owns this connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `ConnectionConfig`
<ProtoMessage key={15} message={{"name":"ConnectionConfig","longName":"ConnectionConfig","fullName":"mgmt.v1alpha1.ConnectionConfig","description":"Configuration for all of the supported Neosync connection types","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"pg_config","description":"Configures a PostgreSQL connection","label":"","type":"PostgresConnectionConfig","longType":"PostgresConnectionConfig","fullType":"mgmt.v1alpha1.PostgresConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#postgresconnectionconfig"},{"name":"aws_s3_config","description":"Configures an AWS S3 Connection","label":"","type":"AwsS3ConnectionConfig","longType":"AwsS3ConnectionConfig","fullType":"mgmt.v1alpha1.AwsS3ConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#awss3connectionconfig"},{"name":"mysql_config","description":"Configures a MySQL connection","label":"","type":"MysqlConnectionConfig","longType":"MysqlConnectionConfig","fullType":"mgmt.v1alpha1.MysqlConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#mysqlconnectionconfig"},{"name":"local_dir_config","description":"Configures a connection to a directory available on the local file system","label":"","type":"LocalDirectoryConnectionConfig","longType":"LocalDirectoryConnectionConfig","fullType":"mgmt.v1alpha1.LocalDirectoryConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#localdirectoryconnectionconfig"},{"name":"openai_config","description":"Connection config for an OpenAI (or compatible) Connection","label":"","type":"OpenAiConnectionConfig","longType":"OpenAiConnectionConfig","fullType":"mgmt.v1alpha1.OpenAiConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#openaiconnectionconfig"},{"name":"mongo_config","description":"Configures a MongoDB Connection","label":"","type":"MongoConnectionConfig","longType":"MongoConnectionConfig","fullType":"mgmt.v1alpha1.MongoConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#mongoconnectionconfig"},{"name":"gcp_cloudstorage_config","description":"Configures a GCP Cloud Storage Connection","label":"","type":"GcpCloudStorageConnectionConfig","longType":"GcpCloudStorageConnectionConfig","fullType":"mgmt.v1alpha1.GcpCloudStorageConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#gcpcloudstorageconnectionconfig"},{"name":"dynamodb_config","description":"Configures a DynamoDB Connection","label":"","type":"DynamoDBConnectionConfig","longType":"DynamoDBConnectionConfig","fullType":"mgmt.v1alpha1.DynamoDBConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#dynamodbconnectionconfig"},{"name":"mssql_config","description":"Configures a Microsoft SQL Server (mssql) Connection","label":"","type":"MssqlConnectionConfig","longType":"MssqlConnectionConfig","fullType":"mgmt.v1alpha1.MssqlConnectionConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#mssqlconnectionconfig"}]}} />


### `ConnectionRolePrivilege`
<ProtoMessage key={16} message={{"name":"ConnectionRolePrivilege","longName":"ConnectionRolePrivilege","fullName":"mgmt.v1alpha1.ConnectionRolePrivilege","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"grantee","description":"The role that was given the permissions","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"schema","description":"The database schema. Ex: public","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The name of the table in the schema","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"privilege_type","description":"The privileges given to that role","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CreateConnectionRequest`
<ProtoMessage key={17} message={{"name":"CreateConnectionRequest","longName":"CreateConnectionRequest","fullName":"mgmt.v1alpha1.CreateConnectionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to create the connection for","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The friendly name of the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_config","description":"The connection configuration to use for the connection","label":"","type":"ConnectionConfig","longType":"ConnectionConfig","fullType":"mgmt.v1alpha1.ConnectionConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionconfig"}]}} />


### `CreateConnectionResponse`
<ProtoMessage key={18} message={{"name":"CreateConnectionResponse","longName":"CreateConnectionResponse","fullName":"mgmt.v1alpha1.CreateConnectionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection","description":"The created connection","label":"","type":"Connection","longType":"Connection","fullType":"mgmt.v1alpha1.Connection","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connection"}]}} />


### `DeleteConnectionRequest`
<ProtoMessage key={19} message={{"name":"DeleteConnectionRequest","longName":"DeleteConnectionRequest","fullName":"mgmt.v1alpha1.DeleteConnectionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the connection to delete","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `DeleteConnectionResponse`
<ProtoMessage key={20} message={{"name":"DeleteConnectionResponse","longName":"DeleteConnectionResponse","fullName":"mgmt.v1alpha1.DeleteConnectionResponse","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `DynamoDBConnectionConfig`
<ProtoMessage key={21} message={{"name":"DynamoDBConnectionConfig","longName":"DynamoDBConnectionConfig","fullName":"mgmt.v1alpha1.DynamoDBConnectionConfig","description":"Configuration for a DynaomDB Connection","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"credentials","description":"Optional credentials that may be provided and will be used to connect to the DynamoDB Instance.\nIf self-hosting, this may be provided by the environment in lieu of specifying these here","label":"optional","type":"AwsS3Credentials","longType":"AwsS3Credentials","fullType":"mgmt.v1alpha1.AwsS3Credentials","ismap":false,"isoneof":true,"oneofdecl":"_credentials","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#awss3credentials"},{"name":"region","description":"Optionally specify the region that the dynamodb instance lives in if not provided by the environment.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_region","defaultValue":""},{"name":"endpoint","description":"Optionally specify the endpoint that will be used by the AWS SDK.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_endpoint","defaultValue":""}]}} />


### `GcpCloudStorageConnectionConfig`
<ProtoMessage key={22} message={{"name":"GcpCloudStorageConnectionConfig","longName":"GcpCloudStorageConnectionConfig","fullName":"mgmt.v1alpha1.GcpCloudStorageConnectionConfig","description":"Configuration for GCP Cloud Storage Buckets","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"bucket","description":"The GCP Cloud Storage bucket that will be accessed.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"path_prefix","description":"The path prefix that will be appended to each file","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_path_prefix","defaultValue":""},{"name":"service_account_credentials","description":"stringified json of the service account credentials file","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_service_account_credentials","defaultValue":""}]}} />


### `GetConnectionRequest`
<ProtoMessage key={23} message={{"name":"GetConnectionRequest","longName":"GetConnectionRequest","fullName":"mgmt.v1alpha1.GetConnectionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the connection to get","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"exclude_sensitive","description":"Whether or not to exclude sensitive data from the connection\nIf the caller does not have permission to view sensitive data, the connection will always be returned without sensitive data\nThis behavior exists to preserve backwards compatibility that originally always returned sensitive data","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionResponse`
<ProtoMessage key={24} message={{"name":"GetConnectionResponse","longName":"GetConnectionResponse","fullName":"mgmt.v1alpha1.GetConnectionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection","description":"The connection","label":"","type":"Connection","longType":"Connection","fullType":"mgmt.v1alpha1.Connection","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connection"}]}} />


### `GetConnectionsRequest`
<ProtoMessage key={25} message={{"name":"GetConnectionsRequest","longName":"GetConnectionsRequest","fullName":"mgmt.v1alpha1.GetConnectionsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get connections for","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"exclude_sensitive","description":"Whether or not to exclude sensitive data from the connection\nIf the caller does not have permission to view sensitive data, the connection will always be returned without sensitive data\nThis behavior exists to preserve backwards compatibility that originally always returned sensitive data","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionsResponse`
<ProtoMessage key={26} message={{"name":"GetConnectionsResponse","longName":"GetConnectionsResponse","fullName":"mgmt.v1alpha1.GetConnectionsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connections","description":"The connections","label":"repeated","type":"Connection","longType":"Connection","fullType":"mgmt.v1alpha1.Connection","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connection"}]}} />


### `IsConnectionNameAvailableRequest`
<ProtoMessage key={27} message={{"name":"IsConnectionNameAvailableRequest","longName":"IsConnectionNameAvailableRequest","fullName":"mgmt.v1alpha1.IsConnectionNameAvailableRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to check the connection name for","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_name","description":"The connection name to check for availability","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `IsConnectionNameAvailableResponse`
<ProtoMessage key={28} message={{"name":"IsConnectionNameAvailableResponse","longName":"IsConnectionNameAvailableResponse","fullName":"mgmt.v1alpha1.IsConnectionNameAvailableResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"is_available","description":"Whether or not the connection name is available","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `LocalDirectoryConnectionConfig`
<ProtoMessage key={29} message={{"name":"LocalDirectoryConnectionConfig","longName":"LocalDirectoryConnectionConfig","fullName":"mgmt.v1alpha1.LocalDirectoryConnectionConfig","description":"Configures a connection to a directory available on the local file system","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"path","description":"The absolute path to a directory that is available on the local file system to the API and Worker nodes","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `MongoConnectionConfig`
<ProtoMessage key={30} message={{"name":"MongoConnectionConfig","longName":"MongoConnectionConfig","fullName":"mgmt.v1alpha1.MongoConnectionConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"url","description":"The full mongo connection url","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"tunnel","description":"Provide tunnel configuration that can be used to access a connection that is not publicly accessible to the internet","label":"","type":"SSHTunnel","longType":"SSHTunnel","fullType":"mgmt.v1alpha1.SSHTunnel","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshtunnel"},{"name":"client_tls","description":"Provide client-side TLS Certificates","label":"","type":"ClientTlsConfig","longType":"ClientTlsConfig","fullType":"mgmt.v1alpha1.ClientTlsConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#clienttlsconfig"}]}} />


### `MssqlConnectionConfig`
<ProtoMessage key={31} message={{"name":"MssqlConnectionConfig","longName":"MssqlConnectionConfig","fullName":"mgmt.v1alpha1.MssqlConnectionConfig","description":"Configuration for a Mssql Connection","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"url","description":"The URL with sqlserver scheme.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"url_from_env","description":"Source a url from an environment variable.\nThe value is expected to be in the same format as the \"url\" field above.\nThe key is the name of the environment variable to source. It must contain a prefix of \"USER_DEFINED_\"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"connection_options","description":"Provide connection options that can be used to further fine-tune the connection","label":"","type":"SqlConnectionOptions","longType":"SqlConnectionOptions","fullType":"mgmt.v1alpha1.SqlConnectionOptions","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sqlconnectionoptions"},{"name":"tunnel","description":"Provide tunnel configuration that can be used to access a postgres connection that is not publicly accessible to the internet","label":"","type":"SSHTunnel","longType":"SSHTunnel","fullType":"mgmt.v1alpha1.SSHTunnel","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshtunnel"},{"name":"client_tls","description":"Provide client-side TLS Certificates","label":"","type":"ClientTlsConfig","longType":"ClientTlsConfig","fullType":"mgmt.v1alpha1.ClientTlsConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#clienttlsconfig"}]}} />


### `MysqlConnection`
<ProtoMessage key={32} message={{"name":"MysqlConnection","longName":"MysqlConnection","fullName":"mgmt.v1alpha1.MysqlConnection","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"user","description":"The user to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"pass","description":"The password to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"protocol","description":"The protocol to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"host","description":"The host to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"port","description":"The port to use for the connection","label":"","type":"int32","longType":"int32","fullType":"int32","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The name of the database to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `MysqlConnectionConfig`
<ProtoMessage key={33} message={{"name":"MysqlConnectionConfig","longName":"MysqlConnectionConfig","fullName":"mgmt.v1alpha1.MysqlConnectionConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"url","description":"A raw string url that will be used to construct the connection. DSN format. URI format also supported but more limited.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"connection","description":"A structured representation of the connection that will be used to construct the url","label":"","type":"MysqlConnection","longType":"MysqlConnection","fullType":"mgmt.v1alpha1.MysqlConnection","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#mysqlconnection"},{"name":"url_from_env","description":"Source a url from an environment variable.\nThe value is expected to be in the same format as the \"url\" field above.\nThe key is the name of the environment variable to source. It must contain a prefix of \"USER_DEFINED_\"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"tunnel","description":"Provide tunnel configuration that can be used to access a postgres connection that is not publicly accessible to the internet","label":"","type":"SSHTunnel","longType":"SSHTunnel","fullType":"mgmt.v1alpha1.SSHTunnel","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshtunnel"},{"name":"connection_options","description":"Provide connection options that can be used to further fine-tune the connection","label":"","type":"SqlConnectionOptions","longType":"SqlConnectionOptions","fullType":"mgmt.v1alpha1.SqlConnectionOptions","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sqlconnectionoptions"},{"name":"client_tls","description":"Provide client-side TLS Certificates","label":"","type":"ClientTlsConfig","longType":"ClientTlsConfig","fullType":"mgmt.v1alpha1.ClientTlsConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#clienttlsconfig"}]}} />


### `OpenAiConnectionConfig`
<ProtoMessage key={34} message={{"name":"OpenAiConnectionConfig","longName":"OpenAiConnectionConfig","fullName":"mgmt.v1alpha1.OpenAiConnectionConfig","description":"Configures a connection to OpenAI or OpenAI compatible API.","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"api_key","description":"OpenAI Api Key","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"api_url","description":"OpenAI URL (if using a custom endpoint)","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `PostgresConnection`
<ProtoMessage key={35} message={{"name":"PostgresConnection","longName":"PostgresConnection","fullName":"mgmt.v1alpha1.PostgresConnection","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"host","description":"The host to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"port","description":"The port to use for the connection","label":"","type":"int32","longType":"int32","fullType":"int32","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The name of the database to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"user","description":"The user to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"pass","description":"The password to use for the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"ssl_mode","description":"The SSL mode to use for the connection","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_ssl_mode","defaultValue":""}]}} />


### `PostgresConnectionConfig`
<ProtoMessage key={36} message={{"name":"PostgresConnectionConfig","longName":"PostgresConnectionConfig","fullName":"mgmt.v1alpha1.PostgresConnectionConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"url","description":"A raw string url that will be used to construct the connection. Must be URI format.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"connection","description":"A structured representation of the connection that will be used to construct the url","label":"","type":"PostgresConnection","longType":"PostgresConnection","fullType":"mgmt.v1alpha1.PostgresConnection","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#postgresconnection"},{"name":"url_from_env","description":"Source a url from an environment variable.\nThe value is expected to be in the same format as the \"url\" field above.\nThe key is the name of the environment variable to source. It must contain a prefix of \"USER_DEFINED_\"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"connection_config","defaultValue":""},{"name":"tunnel","description":"Provide tunnel configuration that can be used to access a postgres connection that is not publicly accessible to the internet","label":"","type":"SSHTunnel","longType":"SSHTunnel","fullType":"mgmt.v1alpha1.SSHTunnel","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshtunnel"},{"name":"connection_options","description":"Provide connection options that can be used to further fine-tune the connection","label":"","type":"SqlConnectionOptions","longType":"SqlConnectionOptions","fullType":"mgmt.v1alpha1.SqlConnectionOptions","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sqlconnectionoptions"},{"name":"client_tls","description":"Provide client-side TLS Certificates","label":"","type":"ClientTlsConfig","longType":"ClientTlsConfig","fullType":"mgmt.v1alpha1.ClientTlsConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#clienttlsconfig"}]}} />


### `SSHAuthentication`
<ProtoMessage key={37} message={{"name":"SSHAuthentication","longName":"SSHAuthentication","fullName":"mgmt.v1alpha1.SSHAuthentication","description":"SSH Authentication","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"passphrase","description":"Password authentication","label":"","type":"SSHPassphrase","longType":"SSHPassphrase","fullType":"mgmt.v1alpha1.SSHPassphrase","ismap":false,"isoneof":true,"oneofdecl":"auth_config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshpassphrase"},{"name":"private_key","description":"Private key authentication","label":"","type":"SSHPrivateKey","longType":"SSHPrivateKey","fullType":"mgmt.v1alpha1.SSHPrivateKey","ismap":false,"isoneof":true,"oneofdecl":"auth_config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshprivatekey"}]}} />


### `SSHPassphrase`
<ProtoMessage key={38} message={{"name":"SSHPassphrase","longName":"SSHPassphrase","fullName":"mgmt.v1alpha1.SSHPassphrase","description":"Contains the configuration needed to retrieve the SSH passphrase for the tunnel","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"value","description":"The password to be used to connect to the SSH server\n\neventually we can expand this to allow pulling from other sources.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `SSHPrivateKey`
<ProtoMessage key={39} message={{"name":"SSHPrivateKey","longName":"SSHPrivateKey","fullName":"mgmt.v1alpha1.SSHPrivateKey","description":"Contains the configuration needed to retrieve the SSH private key for the tunnel","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"value","description":"The private key in PEM format.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"passphrase","description":"If the private key is encrypted, this value should decrypt it.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_passphrase","defaultValue":""}]}} />


### `SSHTunnel`
<ProtoMessage key={40} message={{"name":"SSHTunnel","longName":"SSHTunnel","fullName":"mgmt.v1alpha1.SSHTunnel","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"host","description":"The host of the SSH server","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"port","description":"The port of the SSH server, typically 22","label":"","type":"int32","longType":"int32","fullType":"int32","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"user","description":"The user that will be used to authenticate","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"known_host_public_key","description":"Optionally provide the public key of the known host of the SSH tunnel that we are connecting to.\nIf this is not provided, the server will blindly connect to the host with the given credentials.\nThis is not recommended for production use!","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_known_host_public_key","defaultValue":""},{"name":"authentication","description":"Provide the authentication required to successfully connect to the SSH server for tunneling","label":"","type":"SSHAuthentication","longType":"SSHAuthentication","fullType":"mgmt.v1alpha1.SSHAuthentication","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#sshauthentication"}]}} />


### `SqlConnectionOptions`
<ProtoMessage key={41} message={{"name":"SqlConnectionOptions","longName":"SqlConnectionOptions","fullName":"mgmt.v1alpha1.SqlConnectionOptions","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"max_connection_limit","description":"Sets the maximum number of open connections\nIf this value is greater than 0, but less than the max_idle_connections, then max_idle_connections will be reduced to match the max_connection_limit\nIf this value is less than or equal to 0, then there is no limit on the number of open connections. If not provided, the default is 0 (unlimited).","label":"optional","type":"int32","longType":"int32","fullType":"int32","ismap":false,"isoneof":true,"oneofdecl":"_max_connection_limit","defaultValue":""},{"name":"max_idle_connections","description":"Sets the maximum number of connections in the idle connection pool.\nThis value will be reduced at runtime to match the max_connection_limit if max_connection_limit is greater than 0 but less than this value.\nIf this value is less than or equal to 0, then no idle connections are maintained. If not provided, the default is 2, which may change in a future release.","label":"optional","type":"int32","longType":"int32","fullType":"int32","ismap":false,"isoneof":true,"oneofdecl":"_max_idle_connections","defaultValue":""},{"name":"max_idle_duration","description":"Sets the maximum amount of time a connection may be idle.\nExpired connections may be closed lazily before reuse.\nif this value is less than or equal to 0, connections are not closed due to a connection's idle time.\nThis value is parsed as a Go duration string (ex: 1s, 1m, 500ms)","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_max_idle_duration","defaultValue":""},{"name":"max_open_duration","description":"Sets the maximum amount of time a connection may be reused.\nExpired connections may be closed lazily before reuse.\nIf this value is less than or equal to 0, connections may not be closed due to a connection's age.\nThis value is parsed as a Go duration string (ex: 1s, 1m, 500ms)","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_max_open_duration","defaultValue":""}]}} />


### `UpdateConnectionRequest`
<ProtoMessage key={42} message={{"name":"UpdateConnectionRequest","longName":"UpdateConnectionRequest","fullName":"mgmt.v1alpha1.UpdateConnectionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the connection to update","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The friendly name of the connection","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"connection_config","description":"The connection configuration to use for the connection","label":"","type":"ConnectionConfig","longType":"ConnectionConfig","fullType":"mgmt.v1alpha1.ConnectionConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connectionconfig"}]}} />


### `UpdateConnectionResponse`
<ProtoMessage key={43} message={{"name":"UpdateConnectionResponse","longName":"UpdateConnectionResponse","fullName":"mgmt.v1alpha1.UpdateConnectionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection","description":"The updated connection","label":"","type":"Connection","longType":"Connection","fullType":"mgmt.v1alpha1.Connection","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection.proto#connection"}]}} />

---
## Services


### `ConnectionService`

Service for managing datasource connections.
This is a primary data model in Neosync and is used in reference when hooking up Jobs to synchronize and generate data.


#### `GetConnections`
<ProtoServiceMethod key={'GetConnections-0'} method={{"name":"GetConnections","description":"Returns a list of connections associated with the account","requestType":"GetConnectionsRequest","requestLongType":"GetConnectionsRequest","requestFullType":"mgmt.v1alpha1.GetConnectionsRequest","requestStreaming":false,"responseType":"GetConnectionsResponse","responseLongType":"GetConnectionsResponse","responseFullType":"mgmt.v1alpha1.GetConnectionsResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#getconnectionsrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#getconnectionsresponse"}} />


#### `GetConnection`
<ProtoServiceMethod key={'GetConnection-1'} method={{"name":"GetConnection","description":"Returns a single connection","requestType":"GetConnectionRequest","requestLongType":"GetConnectionRequest","requestFullType":"mgmt.v1alpha1.GetConnectionRequest","requestStreaming":false,"responseType":"GetConnectionResponse","responseLongType":"GetConnectionResponse","responseFullType":"mgmt.v1alpha1.GetConnectionResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#getconnectionrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#getconnectionresponse"}} />


#### `CreateConnection`
<ProtoServiceMethod key={'CreateConnection-2'} method={{"name":"CreateConnection","description":"Creates a new connection","requestType":"CreateConnectionRequest","requestLongType":"CreateConnectionRequest","requestFullType":"mgmt.v1alpha1.CreateConnectionRequest","requestStreaming":false,"responseType":"CreateConnectionResponse","responseLongType":"CreateConnectionResponse","responseFullType":"mgmt.v1alpha1.CreateConnectionResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#createconnectionrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#createconnectionresponse"}} />


#### `UpdateConnection`
<ProtoServiceMethod key={'UpdateConnection-3'} method={{"name":"UpdateConnection","description":"Updates an existing connection","requestType":"UpdateConnectionRequest","requestLongType":"UpdateConnectionRequest","requestFullType":"mgmt.v1alpha1.UpdateConnectionRequest","requestStreaming":false,"responseType":"UpdateConnectionResponse","responseLongType":"UpdateConnectionResponse","responseFullType":"mgmt.v1alpha1.UpdateConnectionResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#updateconnectionrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#updateconnectionresponse"}} />


#### `DeleteConnection`
<ProtoServiceMethod key={'DeleteConnection-4'} method={{"name":"DeleteConnection","description":"Removes a connection from the system.","requestType":"DeleteConnectionRequest","requestLongType":"DeleteConnectionRequest","requestFullType":"mgmt.v1alpha1.DeleteConnectionRequest","requestStreaming":false,"responseType":"DeleteConnectionResponse","responseLongType":"DeleteConnectionResponse","responseFullType":"mgmt.v1alpha1.DeleteConnectionResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#deleteconnectionrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#deleteconnectionresponse"}} />


#### `IsConnectionNameAvailable`
<ProtoServiceMethod key={'IsConnectionNameAvailable-5'} method={{"name":"IsConnectionNameAvailable","description":"Connections have friendly names, this method checks if the requested name is available in the system based on the account","requestType":"IsConnectionNameAvailableRequest","requestLongType":"IsConnectionNameAvailableRequest","requestFullType":"mgmt.v1alpha1.IsConnectionNameAvailableRequest","requestStreaming":false,"responseType":"IsConnectionNameAvailableResponse","responseLongType":"IsConnectionNameAvailableResponse","responseFullType":"mgmt.v1alpha1.IsConnectionNameAvailableResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#isconnectionnameavailablerequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#isconnectionnameavailableresponse"}} />


#### `CheckConnectionConfig`
<ProtoServiceMethod key={'CheckConnectionConfig-6'} method={{"name":"CheckConnectionConfig","description":"Checks if the connection config is connectable by the backend.\nUsed mostly to verify that a connection is valid prior to creating a Connection object.","requestType":"CheckConnectionConfigRequest","requestLongType":"CheckConnectionConfigRequest","requestFullType":"mgmt.v1alpha1.CheckConnectionConfigRequest","requestStreaming":false,"responseType":"CheckConnectionConfigResponse","responseLongType":"CheckConnectionConfigResponse","responseFullType":"mgmt.v1alpha1.CheckConnectionConfigResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#checkconnectionconfigrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#checkconnectionconfigresponse"}} />


#### `CheckConnectionConfigById`
<ProtoServiceMethod key={'CheckConnectionConfigById-7'} method={{"name":"CheckConnectionConfigById","description":"Checks if the connection id is connectable by the backend.\nUsed to verify that a connection is still connectable.","requestType":"CheckConnectionConfigByIdRequest","requestLongType":"CheckConnectionConfigByIdRequest","requestFullType":"mgmt.v1alpha1.CheckConnectionConfigByIdRequest","requestStreaming":false,"responseType":"CheckConnectionConfigByIdResponse","responseLongType":"CheckConnectionConfigByIdResponse","responseFullType":"mgmt.v1alpha1.CheckConnectionConfigByIdResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#checkconnectionconfigbyidrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#checkconnectionconfigbyidresponse"}} />


#### `CheckSqlQuery`
<ProtoServiceMethod key={'CheckSqlQuery-8'} method={{"name":"CheckSqlQuery","description":"Checks a constructed SQL query against a sql-based connection to see if it's valid based on that connection's data schema\nThis is useful when constructing subsets to see if the WHERE clause is correct","requestType":"CheckSqlQueryRequest","requestLongType":"CheckSqlQueryRequest","requestFullType":"mgmt.v1alpha1.CheckSqlQueryRequest","requestStreaming":false,"responseType":"CheckSqlQueryResponse","responseLongType":"CheckSqlQueryResponse","responseFullType":"mgmt.v1alpha1.CheckSqlQueryResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksqlqueryrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksqlqueryresponse"}} />


#### `CheckSSHConnection`
<ProtoServiceMethod key={'CheckSSHConnection-9'} method={{"name":"CheckSSHConnection","description":"Checks if the SSH server is reachable and accessible with the given credentials","requestType":"CheckSSHConnectionRequest","requestLongType":"CheckSSHConnectionRequest","requestFullType":"mgmt.v1alpha1.CheckSSHConnectionRequest","requestStreaming":false,"responseType":"CheckSSHConnectionResponse","responseLongType":"CheckSSHConnectionResponse","responseFullType":"mgmt.v1alpha1.CheckSSHConnectionResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionresponse"}} />


#### `CheckSSHConnectionById`
<ProtoServiceMethod key={'CheckSSHConnectionById-10'} method={{"name":"CheckSSHConnectionById","description":"Checks if the SSH server is reachable and accessible with the given credentials","requestType":"CheckSSHConnectionByIdRequest","requestLongType":"CheckSSHConnectionByIdRequest","requestFullType":"mgmt.v1alpha1.CheckSSHConnectionByIdRequest","requestStreaming":false,"responseType":"CheckSSHConnectionByIdResponse","responseLongType":"CheckSSHConnectionByIdResponse","responseFullType":"mgmt.v1alpha1.CheckSSHConnectionByIdResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionbyidrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection.proto#checksshconnectionbyidresponse"}} />


---


  